package com.big.stock;

import com.big.common.result.Result;
import com.big.model.model.stock.MerchandiseStock;
import com.big.model.vo.stock.StockVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

@Repository
@FeignClient("service-stock")
public interface StockFeignClient {

    @GetMapping("/api/stock/stockInformation/{mId}")
    public Result Information(@PathVariable("mId") String mId);


    @GetMapping("/api/stock/stockChange")
    public Result stockChange(@RequestBody  StockVo stockVo);


}
